Skip to content

PHP 8.4 preparation: Make implicit-nullable parameters explicit (Case 212955) - #20

Merged
janopae merged 1 commit into
masterfrom
212955-explicit-nullability
Jul 30, 2026
Merged

PHP 8.4 preparation: Make implicit-nullable parameters explicit (Case 212955)#20
janopae merged 1 commit into
masterfrom
212955-explicit-nullability

Conversation

@janopae

@janopae janopae commented Jul 30, 2026

Copy link
Copy Markdown
Member

PHP 8.4 (required by Symfony 8) deprecates declaring a nullable parameter implicitly via Type $x = null . Adding the explicit ? to every affected signature in the entities, form type and exceptions. Behavior is unchanged; this only silences the deprecation ahead of the version bump.

PHP 8.4 (required by Symfony 8) deprecates declaring a nullable parameter
implicitly via "Type $x = null". Add the explicit "?" to every affected
signature in the entities, form type and exceptions. Behavior is unchanged;
this only silences the deprecation ahead of the version bump.
@janopae janopae changed the title PHP 8.4 preparation: Make implicit-nullable parameters explicit PHP 8.4 preparation: Make implicit-nullable parameters explicit (Case 212955) Jul 30, 2026
@janopae
janopae merged commit e735269 into master Jul 30, 2026
3 checks passed
@janopae
janopae deleted the 212955-explicit-nullability branch July 30, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant